<!DOCTYPE HTML>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Twilight</title>
    <link href="/style/images/favicon.ico" rel="shortcut icon">
    <link rel="stylesheet" href="/style/style.css" type="text/css" media="screen" />
    <script type="text/javascript" src="/js/cufon-yui.js" ></script>
    <script src="/js/perry-gothic.cufonfonts.js" type="text/javascript"></script>
    <script type="text/javascript">
        Cufon.replace('.title-blog a, .contacts', { fontFamily: 'PerryGothic Regular', hover: true }); 
    </script>
</head>
<body class="<?php echo $bg ?>">
    <div id="wrapper" >
        <div class="top">
            <div class="logo"><a href="/"><!----></a></div>
            <div class="title-blog"><a href=""><?php echo $page_name ?></a></div>
            <div class="separator"><!----></div>
            <div class="button <?php if($page_name=='main'):?>active <?php endif; ?>"><a href="/">Главная</a></div>
            <div class="button <?php if($page_name=='download'):?>active <?php endif; ?>"><a href="/download">Скачать</a></div>
            <div class="button <?php if($page_name=='trailer'):?>active <?php endif; ?>"><a href="/trailer">Трейлер</a></div>
            <div class="button actors <?php if($page_name=='actors'):?>active <?php endif; ?>"><a href="/actors">Актеры</a></div>
            <div class="button <?php if($page_name=='gallery'):?>active <?php endif; ?>"><a href="/gallery">Галерея</a></div>
            <div class="button content <?php if($page_name=='content'):?>active <?php endif; ?>"><a href="/content">Содержание</a></div>
        </div>
        <div class="top-opacity"></div>
        <div id="bigblock">
            <?php require $path ?>
        </div>
        <div class="separator"><!----></div>

        <div id="footer">
            <span class="developed_by">Developed by:</span> <a class="contacts" href="contacts.html">HighLS</a>
        </div>
    </div>
    <div id="opacity_wrapper"></div>

</body>
<?php Debug::showSystemUsage() ?>
</html>
